New Year fuse: a LocalAlerts custom widget
===========================================

A party panel for 2027: a countdown to midnight from your PC's own clock, and a fuse burning towards a firework
rocket, with a flickering flame, sparks, smoke and a charred fuse behind it. The last ten seconds count down big in
the middle. At 00:00 the rocket launches, HAPPY NEW YEAR! pops up and fireworks fill the widget.

The fuse burns with either
  - The time left: it's lit a set number of hours before midnight (1 to start with) and reaches the rocket at 00:00.
  - A goal: followers, subs, bits, tips, raiders, channel point redeems or everything. Reaching the goal sets off a
    short fireworks show; the big show is still at midnight.

Add it to LocalAlerts
1. Unzip this folder somewhere it can stay (for example Documents\LocalAlerts widgets\New Year fuse).
2. In LocalAlerts: Widgets -> + New widget -> Custom widget (HTML / CSS / JS).
3. Widget folder -> Choose folder... and pick this folder. Its settings appear underneath.
4. It takes its own name and size (1000 x 520) from widget.json when you choose the folder.
   Drag it onto your overlay. To change its size, drag the edges of its box on the canvas: it gets more room and
   stays sharp in OBS. (Older versions of LocalAlerts: Look -> Width / Height.)

Try it first
  Tick "Practice run": midnight comes 20 seconds after the overlay loads, and the whole fuse burns in that time.
  Untick it afterwards. Or type !newyear practice in chat (a 15-second practice, any time).

Chat commands (you and your mods)
  !newyear practice    a 15-second practice countdown
  !newyear fireworks   20 seconds of fireworks now
  !fuse add 5   !fuse set 20   !fuse reset    (when the fuse burns with a goal)

Change it
  widget.json  its name and size when it's added
  fields.json  the settings (the date and time, the words, the fuse, the fireworks length, where the bar sits…)
  style.css    the panel, the countdown, the rocket launch, the big numbers
  script.js    the clock, the fuse and its flame, the fireworks, counting a goal
  art/         the rocket and the bunting (SVG)
After changing a file, refresh the overlay in OBS (right-click it -> Refresh).

Free to use and change for your streams.
